<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../node_modules//vue/dist/vue.js"></script>
</head>
<body>
    <div id="app">
        语言：
        <input type="checkbox" v-model="language" value="java">java<br>
        <input type="checkbox" v-model="language" value="php">php<br>
        <input type="checkbox" v-model="language" value="python">python<br>
        选中了{{language.join(',')}}
    </div>
    
</body>
<script>
    new Vue({
        el: "#app",
        data:{
            language:[]
        },
        methods: {
             
        }
    })
</script>
</html>